<%@page import = "clothing.database.EmployeeManager" %>
<%@ include file = "templates/header.jsp" %>

<%

String firstname = request.getParameter("firstname");
String mi = request.getParameter("mi");
String lastname = request.getParameter("lastname");
String phone = request.getParameter("phone");
String address = request.getParameter("address");
String username = request.getParameter("username");
String password = request.getParameter("password");
String type = request.getParameter("type");

System.out.println(type);

EmployeeManager em = new EmployeeManager();
em.insert(firstname, mi, lastname, phone, address, username, password, type);

response.sendRedirect("displayEmployees.jsp");

%>
<%@ include file = "templates/footer.jsp" %>